source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '9.0'
use_frameworks!
inhibit_all_warnings!

def betterSegmentedControl
  pod 'BetterSegmentedControl', :path => '../', :inhibit_warnings => false
end

target 'BetterSegmentedControl_Example' do
  betterSegmentedControl
end

target 'BetterSegmentedControl_Tests' do
  betterSegmentedControl

  pod 'Quick', '~> 2.2'
  pod 'Nimble', '~> 7.3'
  pod 'Nimble-Snapshots', '~> 6.9'
end

post_install do |pi|
    pi.pods_project.targets.each do |t|
      t.build_configurations.each do |config|
        config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '9.0'
      end
    end
end
